package com.bdqn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bdqn.pojo.Right;

import java.util.List;
import java.util.Set;


public interface RightMapper extends BaseMapper<Right> {

    /**
     * 根据角色ID获取权限集合
     *
     * @param roleId
     * @return
     */
    Set<Right> findRightByRoleId(Long roleId);
    List<Right> findAll();
}




